﻿using JNPF.Utils;
using System.ComponentModel.DataAnnotations;

namespace JNPF.Basics.Models.WorkFlow.Dtos.FlowLaunch
{
    public class FlowLaunchListQuery : PageInput
    {
        /// <summary>
        /// 所属分类
        /// </summary>
        public string flowCategory { get; set; }
        /// <summary>
        /// 所属流程
        /// </summary>
        [Required(ErrorMessage = "所属流程不能为空")]
        public string flowId { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public long? startTime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public long? endTime { get; set; }
    }
}
